package com.dgut.uhrs.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String userId;
    private String openId;
    private String name;
    private String password;
    private String token;
    private String role;
    private String school;
    private String clas;
    private String phone;
    private String status;


    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", openId='" + openId + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", token='" + token + '\'' +
                ", role='" + role + '\'' +
                ", school='" + school + '\'' +
                ", clas='" + clas + '\'' +
                ", phone='" + phone + '\'' +
                ", status=" + status +
                '}';
    }
}
